
import random

N = 128

f = open("noise.raw", "wb")
for y in range(256):
    for x in range(256):
        color = random.randint(0, 255)
        f.write(chr(color))
